SMS API
Connect via a 98% Open Rate Platform
A simple API that supports unicode and standard text for single or bulk messages, is customizable to your needs and works with mobile networks globally.
Discover MoreWHATSAPP BUSINESS API
Engage Globally with 2.5B+ Users
Easily connect with customers using WhatsApp, the world’s leading messaging app. Engage your audience, increase sales, and have meaningful conversations.
Discover MoreCHATBOT BUILDER
Engage with Your Customers 24/7
Build smart chatbots to handle inquiries, deliver instant responses, and provide 24/7 support. Customize and deploy quickly for better satisfaction.
Discover MoreWHATSAPP INBOX
Manage WhatsApp Conversations
Manage all your WhatsApp interactions on the D7 Platform. Instant replies, chat history, search, and filter tools for seamless customer communications.
Discover MoreEasy To Use API
Start Integrating with D7 API
Signing up for a D7 account is simple. Just fill in some basic info, and we will send a code to your email right away. You can use SDKs, sample codes in your preferred language , and marketplace extensions to get started easily. We make sure to follow the rules in your country. You can also try the service and see how it works on your device.
from direct7 import Client
client = Client(api_token="Your API token")
client.sms.send_messages(
{"recipients": ["+9715XXXXXXXX"],"content": "Greetings from D7 API", "unicode": False},
originator="Sender",
report_url="https://the_url_to_receive_delivery_report.com",
)
require_once __DIR__ . '/vendor/autoload.php';
use direct7\Direct7\Client;
$client = new Client(api_token="Your API token") ;
$schedule_time = null ;
$response = $direct7->sms->sendMessage(
'Sender',
'https://example.com/callback',
$schedule_time,
[
'recipients' => ["+9715XXXXXXXX"],
'content' => 'Greetings from D7 API',
'unicode' => false,
]
);
var_dump($response);
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"messages\": [\n {\n \"channel\": \"sms\",\n \"recipients\": [\"{{recipient1}}\",\"{{recipient2}}\"],\n \"content\": \"Greetings from D7 API\",\n \"msg_type\": \"text\",\n \"data_coding\": \"text\"\n }\n ],\n \"message_globals\": {\n \"originator\": \"SignOTP\",\n \"report_url\": \"https://the_url_to_recieve_delivery_report.com\"\n }\n}");
Request request = new Request.Builder()
.url("https://api.d7networks.com/messages/v1/send")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Accept", "application/json")
.addHeader("Authorization", "Bearer {{api_access_token}}")
.build();
Response response = client.newCall(request).execute();
const Client = require('direct7')
const client = new Client(apiToken="Your API token")
const schedule_time = null ;
const response = await client.sms.sendMessage(
'SignOtp',
'https://the_url_to_recieve_delivery_report.com',
schedule_time,
{
recipients: ["+recipient1", "recipient2"],
content: "Greetings from D7 API",
unicode: false
}
);
console.log(response);
curl --location --request POST 'https://api.d7networks.com/messages/v1/send' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{api_access_token}}' \
--data-raw '{
"messages": [
{
"channel": "sms",
"recipients": ["{{recipient1}}","{{recipient2}}"],
"content": "Greetings from D7 API",
"msg_type": "text",
"data_coding": "text"
}
],
"message_globals": {
"originator": "SignOTP",
"report_url": "https://the_url_to_recieve_delivery_report.com"
}
}'
Integrations
Access D7 API on Leading Platforms
Integrate your existing business apps with D7 Messaging API and automate your communication workflows.
GLOBAL SCALE
Grow Your Network Globally
D7 Networks is a one-stop access point for connecting to operators worldwide. It’s even part of the reason why we’re called Direct7 - get direct connectivity to 7 continents!
Contact Us1B+
API Request
Per day
99.9%
Historical
Uptime
190+
Countries
Connectivity
10K+
Happy
Customers
Blog